//配置路由规则
import { createRouter, createWebHistory } from 'vue-router'
let router= createRouter({
    history: createWebHistory(),
    routes: [

      {
        path:"/",
        redirect:'/ZhuceView'
      },
        {
            path: '/ZhuceView',
            component: () => import('../views/ZhuceView.vue')
        },
        {
          path: '/LoginView',
          component: () => import('../views/LoginView.vue')
      }

      ]
})
//导出路由
export default router;

